package com.woniuxy.happylife.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Classname UserRoleDto
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/2/21 11:28
 * @Created by hang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRoleDto implements Serializable {
    private int id;
    private String username;
    private String mpassword;
    private String apassword;
    private String name;
    private String sex;
    private String phone;
    private String address;
    private String userImage;
    private String email;
    private int status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
}
